const projectName = require('./project')

let themeValue = ''

switch (projectName.name) {
  case 'projectA':
    themeValue = 'purple'
    break
  case 'projectB':
    themeValue = 'default'
    break
  default:
    break
}

const config = {}
config[projectName.name] = {
  themeValue,
  projectName: projectName.name,
  pages: {
    index: {
      entry: 'src/sfs-example/main.js',
      template: 'public/index.html',
      filename: 'index.html',
    },
  },
}

const configObj = config[projectName.name]
module.exports = configObj
